//访问限制
#join-in {
    display: none;
    position: fixed;
    z-index: 111;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    .join-pw {
        margin: 200px auto;
        padding: 15px 20px;
        cursor: default;
        text-align: center;
        width: 400px;
        height: 300px;
        background-color: #fff;
        p {
            padding: 10px 0;
            font-size: 14px;
        }
        .join-hide {
            display: block;
            color: red;
            height: 85px;
            p {
                font-size: 15px;
            }
            &:hover p{
                visibility: hidden;
            }
        }
        div:nth-of-type(1) {
            margin-bottom: 10px;
        }
        
        .join {
            position: relative;
            padding: 0 25px;
            p {
                float: right;
                padding: 0;
                line-height: 35px;
                color: rgba(0, 0, 0, 0.8);
            }
        }
        .join-text {
            margin-top: 5px;
            width: 200px;
            height: 30px;
            border-bottom: 1px solid #000;
        }
        #remember {
            position: absolute;
            top: 9.5px;
            right: 84px;
            width: 15px;
            height: 15px;
        }
        button {
            float: right;
            margin: 15px 20px 0 0;
            width: 100px;
            height: 30px;
            &:hover {
                background-color: rgba(0, 0, 0, 0.5);
            }
        }
        .join-btn {
            float: left;
            margin-left: 52px;
        }
    }
}
//页首head
#head-container {
    height: 200px;
    background:  url(../images/headBgi_3.jpg) no-repeat center top;
    background-size: cover;
}
#shortcut {
    font-size: 14px;
    color: #fff;
    .ww {
        position: relative;
        width: 100%;
        height: 50px;
        line-height: 50px;
        //shortcut左侧
        .fl {
            margin-left: 20px;
            float: left;
            li {
                float: left;
                padding: 0 6px;
            }
        }//
        //shortcut中间搜索框
        form {
            position: absolute;
            top: 10px;
            right: 50%;
            margin-right: -9%;
            height: 30px;
            line-height: 30px;
            button {
                position: absolute;
                top: 0;
                right: -30px;
                border-radius: 0 3px 3px 0;
                width: 30px;
                height: 30px;
                background-color: #e7e7e7;
            }
        }
        
        //
        //shortcut右侧
        .fr {
            margin-right: 20px;
            float: right;
            li {
                float: left;
                div {
                    padding-left: 2px;
                }
                .dd {
                    padding: 8px 0;
                }
            }
            .spacer {
                padding: 0;
                margin: 19px 5px 0;
                border-left: 1px solid transparent;
                height: 12px;
            }
            .fore2 .dd {
                left: -24px;
                width: 120px;
                .delta {
                    left: 53px;
                }
                .iconfont {
                    position: absolute;
                    right: 24px;
                    font-size: 17px;
                }
            }
            .fore3 .dd {
                left: -53px;
                width: 150px;
                .delta {
                    left: 68px;
                }
            }
            .fore4 .dd {
                left: -210px;
                width: 340px;
                .delta {
                    left: 225px;
                }
            }
            .fore6 {
                .dt {
                    width: 68px;
                    text-align: center;
                    height: 30px;
                    line-height: 30px;
                    margin: 10px 6px 0 0;
                    padding: 0;
                    border-radius: 3px;
                    background-color: #0096d3;
                    a {
                        display: block;
                        width: 100%;
                        height: 100%;
                    }
                } 
                .dd {
                    right: 10px;
                    padding: 0;
                    width: 264px; 
                    a {
                        float: left;
                        padding: 16px;
                        width: 88px;
                        height: 88px;
                    }
                    .delta {
                        right: 15px;
                    }
                    .iconfont {
                        display: block;
                        text-align: center;
                        margin: 0;
                        width: 58px;
                        height: 34px;
                        line-height: 34px;
                        font-size: 34px;
                    }
                }    
            }
            .div-icon {
                overflow: hidden;
                padding-right: 14px;
                transition: all 0.2s ease-in-out 0.1s;
                height: 50px;
                line-height: 50px;
            }
            .iconfont-r {
                position: absolute;
                top: 19px;
                right: 0;
                transition: transform 0.2s ease-in-out 0.1s;
                width: 14px;
                height: 14px;
                line-height: 14px;
            } 
            .iconfont-rotate {
                transform: rotate(360deg);
            } 
            .dropdown {
                position: relative;
                .dd a {
                    color: #000;
                }
                .dd a:hover {
                    color: #000;
                    background-color: #f5f5f5;
                }
            }
        }//  
    }
    a {
        color: #fff;
    }
    a:hover {
        color: #fff;
    }
    //右侧shortcut下拉栏
    .dropdown-layer {
        position: absolute;
        top: 57px;
        transform-origin: center top;
        transform: translate(0, 5px) scale(1,1.2);
        opacity: 0;
        z-index: -11;
        background-color: #fff;
        box-shadow: 2px 2px 2px rgba(0,0,0,0.1);
        border-radius: 3px;
        transition: all 0.2s ease-in-out 0.1s;
        .delta {
            position: absolute;
            top: -7px;
            border-width: 0 7px 7px 7px;
            border-color: transparent transparent #fff;
            border-style: solid;
            width: 0;
            height: 0;
            line-height: 0;
            font-size: 0;
        }
    }
    .dd a {
        display: block;
        height: 34px;
        line-height: 34px;
        padding: 0 16px;
    }
    .dropdown-layer-hover {
        transform: translate(0, 0) scale(1,1);
        opacity: 1;
        z-index: 11;
    }//
}
#search {
    padding-left: 16px;
    border-radius: 3px 0 0 3px;
    width: 400px;
    height: 30px;
    color: #8b8b8b;
}
.logo {
    display: none;
    float: left;
    padding-top: 40px;
    padding-left: 40px;
    a {
        display: block;
        width: 90px;
        height: 90px;
        background:  url(../images/logo.png) no-repeat ;
        background-size: contain;
        font-size: 0;
        // text-indent: -9999px;
        // overflow: hidden;
    }
}
//侧栏和广告区
#aside {
    position: relative;
    height: 0;
}
#QRspan {
    position: absolute;
    bottom: 8px;
    right: 14px;
    width: 100px;
    height: 100px;
    img {
        width: 100%;
        height: 100%;
    }
    .close {
        position: absolute;
        top: -10px;
        right: -10px;
        border-radius: 50%;
        width: 16px;
        height: 16px;
        background-color: #fff;
    }
    .iconfont {
        display: block;
        width: 100%;
        height: 100%;
        line-height: 100%;
        font-size: 17px;
    }
}
#sidebar {
    margin-left: 1610px;
    position: fixed;
    top: 250px;
    width: 50px;
    ul {
        padding: 6px 0;
        border: 1px solid rgba(0,0,0,0.2);
        border-radius: 5px;
        li {
            text-align: center;
            &:last-child {
                font-size: 20px;
                a {
                    padding: 0 12px;
                }
            }
            a {
                display: block;
                padding: 5px 12px;
                transition: all 0.2s ease;
                &:hover {
                    color: #fff;
                    background-color: #00a1d6;
                }
            }
        }
    }
    .heart {
        position: absolute;
        top: -12px;
        font-size: 14px;
    }
    .heart1 {
        left: 20%;
        transform: rotate(-35deg);
    }
    .heart2 {
        right: 20%;
        transform: rotate(35deg);
    }
}
//导航栏nav
#nav-container {
    height: 120px;
    background-color: #fff;
    .nav {
        height: 100%;
    }
}
#nav {
    padding: 20px 0 20px;
    font-size: 14px;
    height: 100%;
    .nav-half {
        float: left;
        width: 50%;
        .nav-title {
            position: relative;
            float: left;
            cursor: default;
            overflow: hidden;
            perspective: 500px;
            transform-style: preserve-3d;
            width: 12%;
            height: 80px;
            line-height: 80px;
            text-align: center;
            background-color: #fff;
            &:hover a {
                transform: rotateX(85deg) translateZ(40px);
            }
            &:hover i {
                transform: rotateX(0deg) translateZ(40px);
            }
            a {
                cursor: default;
                display: block;
                width: 100%;
                height: 80px;
                transform: rotateX(0deg) translateZ(40px);
                transition: all 0.3s ease 0.1s;
            }
            i {
                cursor: default;
                position: absolute;
                top: 0;
                right: 0;
                transform: rotateX(-85deg) translateZ(40px);
                width: 100%;
                height: 80px;
                font-size: 50px;
                transition: all 0.3s ease 0.1s;
            }
        }
        .nav-sort {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            width: 88%;
            height: 100%;
            li {
                border-radius: 3px;
                width: 25%;
                height: 40px;
                line-height: 40px;
                transition: all 0.3s ease-in;
                    &:hover {
                        box-shadow: 2px 2px 2px rgba(17, 17, 17, 0.5);
                        transform: translate(-1.5px);
                    }
                a {
                    float: left;
                    width: 100%;
                    height: 100%;
                    text-align: center;
                }
            }
        }
        a:hover {
            color: #000;
        }
        //nav-sort-1
        .nav-sort-1 li:nth-child(1){
            background-color: rgba(255, 0, 0, 0.4);
        }
        .nav-sort-1 li:nth-child(2){
            background-color: rgba(255, 127, 0, 0.4);
        }
        .nav-sort-1 li:nth-child(3){
            background-color: rgba(255, 255, 0, 0.4);
        }
        .nav-sort-1 li:nth-child(4){
            background-color: rgba(127, 255, 0, 0.4);
        }
        .nav-sort-1 li:nth-child(5){
            background-color: rgba(0, 255, 0, 0.4);
        }
        .nav-sort-1 li:nth-child(6){
            background-color: rgba(0, 255, 127, 0.4);
        }
        .nav-sort-1 li:nth-child(7){
            background-color: rgba(0, 255, 255, 0.4);
        }
        .nav-sort-1 li:nth-child(8){
            background-color: rgba(0, 127, 255, 0.4);
        }
        .nav-sort-1 li:nth-child(1):hover {
            background-color: rgba(255, 0, 0, 0.7);
        }
        .nav-sort-1 li:nth-child(2):hover{
            background-color: rgba(255, 127, 0, 0.7);
        }
        .nav-sort-1 li:nth-child(3):hover{
            background-color: rgba(255, 255, 0, 0.7);
        }
        .nav-sort-1 li:nth-child(4):hover{
            background-color: rgba(127, 255, 0, 0.7);
        }
        .nav-sort-1 li:nth-child(5):hover{
            background-color: rgba(0, 255, 0, 0.7);
        }
        .nav-sort-1 li:nth-child(6):hover{
            background-color: rgba(0, 255, 127, 0.7);
        }
        .nav-sort-1 li:nth-child(7):hover{
            background-color: rgba(0, 255, 255, 0.7);
        }
        .nav-sort-1 li:nth-child(8):hover{
            background-color: rgba(0, 127, 255, 0.7);
        }
        //nav-sort-2
        .nav-sort-2 li:nth-child(1){
            background-color: rgba(0, 0, 255, 0.4);
        }
        .nav-sort-2 li:nth-child(2){
            background-color: rgba(127, 0, 255, 0.4);
        }
        .nav-sort-2 li:nth-child(3){
            background-color: rgba(255, 0, 255, 0.4);
        }
        .nav-sort-2 li:nth-child(4){
            background-color: rgba(255, 0, 127, 0.4);
        }
        .nav-sort-2 li:nth-child(5){
            background-color: rgba(128, 0, 128, 0.4);
        }
        .nav-sort-2 li:nth-child(6){
            background-color: rgba(0, 0, 0, 0.4);
        }
        .nav-sort-2 li:nth-child(7){
            background-color: rgba(127, 127, 127, 0.4);
        }
        .nav-sort-2 li:nth-child(8){
            background-color: rgba(230, 230, 230, 0.4);
        }
        .nav-sort-2 li:nth-child(1):hover {
            background-color: rgba(0, 0, 255, 0.7);
        }
        .nav-sort-2 li:nth-child(2):hover{
            background-color: rgba(127, 0, 255, 0.7);
        }
        .nav-sort-2 li:nth-child(3):hover{
            background-color: rgba(255, 0, 255, 0.7);
        }
        .nav-sort-2 li:nth-child(4):hover{
            background-color: rgba(255, 0, 0, 0.7);
        }
        .nav-sort-2 li:nth-child(5):hover{
            background-color: rgba(128, 0, 128, 0.7);
        }
        .nav-sort-2 li:nth-child(6):hover{
            background-color: rgba(0, 0, 0, 0.7);
        }
        .nav-sort-2 li:nth-child(7):hover{
            background-color: rgba(127, 127, 127, 0.7);
        }
        .nav-sort-2 li:nth-child(8):hover{
            background-color: rgba(230, 230, 230, 0.7);
        }
    }
}
//主体区域main
#main-container {
    height: 270px;
    .w {
        .focus-slide {
            .restore {
                transform: translate3d(585px,0,0);
            }
        }
    }
}
#main {
    height: 100%;
    overflow: hidden;
    padding-top: 20px;
    //轮播图
    .focus-client {
        position: relative;
        float: left;
        width: 45%;
        height: 100%;
        overflow: hidden;
        border-radius: 3px;
        &::before {
            position: absolute;
            bottom: 0;
            left: 0;
            z-index: 13;
            width: 100%;
            height: 26px;
            content: '';
            background-color: rgba(0, 0, 0, 0.3);
        }
    }
    .focus-slide {
        position: absolute;
        width: 600% + 20px;
        height: 100%;
        .item {
            float: left;
            width: 16.66%;
            height: 100%;
            img {
                width: 100%;
                height: 100%;
            }
        }
        
    }
    .trigger {
        position: absolute;
        z-index: 13;
        bottom: 8px;
        right: 8px;
        span {
            float: left;
            margin-left: 8px;
            border-radius: 50%;
            width: 10px;
            height: 10px;
            background-color: #fff;
            transition: all 0.3s;
        }
        .on {
            background: url(https://s1.hdslb.com/bfs/static/jinkela/international-home/asserts/icon_slide_selected.png) no-repeat;
            background-size: cover;
            transform: scale(1.7);
        }
    }
    // //轮播图
    // .focus-slide {
    //     position: relative;
    //     float: left;
    //     overflow: hidden;
    //     z-index: 9;
    //     border-radius: 3px;
    //     width: 45%;
    //     height: 100%;
    //     &::before {
    //         position: absolute;
    //         bottom: 0;
    //         left: 0;
    //         z-index: 13;
    //         width: 100%;
    //         height: 26px;
    //         content: '';
    //         background-color: rgba(0, 0, 0, 0.3);
    //     }
    //     div:nth-child(2) {
    //         transform: translate3d(585px,0,0);
    //     }
    //     div:nth-child(3) {
    //         transform: translate3d(585px,0,0);
    //     }
    //     div:nth-child(4) {
    //         transform: translate3d(585px,0,0);
    //     }
    //     div:nth-child(5) {
    //         transform: translate3d(-585px,0,0);
    //     }
    //     .item {
    //         position: absolute;
    //         width: 100%;
    //         height: 100%;
    //         transition: transform 0.55s ease 0s;
    //         img {
    //             border-radius: 3px;
    //             width: 100%;
    //             height: 100%;
    //         }
    //     }
    //     .item-come {
    //         transform: translate3d(585px,0,0) !important;
    //         z-index: -3;
    //     }
    //     .item-restore {
    //         transform: translate3d(0,0,0) !important;
    //         z-index: 11;
    //     }
    //     .item-leave {
    //         transform: translate3d(-585px,0,0) !important;
    //     }
    //     .trigger {
    //         position: absolute;
    //         z-index: 13;
    //         bottom: 8px;
    //         right: 8px;
    //         span {
    //             float: left;
    //             margin-left: 8px;
    //             border-radius: 50%;
    //             width: 10px;
    //             height: 10px;
    //             background-color: #fff;
    //             transition: all 0.3s;
    //         }
    //         .on {
    //             background: url(https://s1.hdslb.com/bfs/static/jinkela/international-home/asserts/icon_slide_selected.png) no-repeat;
    //             background-size: cover;
    //             transform: scale(1.7);
    //         }
    //     }
    // }
    //热门视频
    .hot-videos {
        float: left;
        padding-left: 8px;
        width: 37%;
        height: 100%;
        a:hover {
            color: #000;
        }
        .hot-videos-title {
            padding-bottom: 4px;
            font-size: 16px;
            font-weight: 700;
            height: 28px;
            a {
                float: right;
                height: 24px;
                line-height: 24px;
                font-weight: normal;
                font-size: 12px;
            }
        }
        .hv-item {
            display: flex;
            flex-flow: row wrap;
            justify-content: space-between;
            align-content: space-between;
            width: 100%;
            height: 222px;
            .hv-video {
                position: relative;
                overflow: hidden;
                border-radius: 3px;
                width: calc(50% - 4px);
                height: calc(50% - 4px);
                &:nth-child(2) {
                    margin-right: 0;
                }
                &:nth-child(4) {
                    margin-right: 0;
                }
                a {
                    img {
                        width: 100%;
                        height: 100%;
                    }
                }
                .info {
                    position: absolute;
                    top: 70px;
                    left: 0;
                    z-index: 3;
                    padding: 14px 8px 8px;
                    cursor: pointer;
                    height: 107px;
                    color: #fff;
                    transition: all 0.25s;
                    .hv-title {
                        overflow: hidden;
                        text-overflow: ellipsis;
                        display: -webkit-box;
                        -webkit-line-clamp: 2;
                        -webkit-box-orient: vertical;
                        font-size: 14px;
                    }
                    .hv-author {
                        padding: 4px 0 2px;
                    }
                }
                &:hover .info {
                    background-color: rgba(0,0,0,0.7);
                    top: 0;
                }
                &:hover .play-btn {
                    opacity: 1;
                    z-index: 5;
                }
                .hide {
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    z-index: 1;
                    width: 100%;
                    height: 25px;
                    background-color: rgba(0,0,0,.3);
                }
                .play-btn {
                    position: absolute;
                    right: 10px;
                    bottom: 10px;
                    z-index: -3;
                    opacity: 0;
                    transition: opacity 0.3s;
                    &:hover::before {
                        display: block;
                    }
                    .iconfont {
                        width: 30px;
                        height: 30px;
                        line-height: 30px;
                        font-size: 30px;
                        color: #fff;
                    }
                }
                span::before {
                    content: "稍后再看";
                    display: none;
                    position: absolute;
                    top: -18px;
                    right: -10px;
                    width: 50px;
                    font-style: 13px;
                    color: #fff;
                    background-color: #000;
                }
            }
        }
    }
    //热门文章
    .hot-list {
        float: right;
        padding-left: 8px;
        width: 18%;
        height: 100%;
        .hot {
            a:hover {
                color: #000;
            }
            dt {
                padding-bottom: 4px;
                font-size: 16px;
                font-weight: 700;
                height: 28px;
                a {
                    float: right;
                    height: 24px;
                    line-height: 24px;
                    font-weight: normal;
                    font-size: 12px;
                }
            }
            dd {
                position: relative;
                z-index: 5;
                margin-bottom: 5px;
                height: 40px;
                a {
                    position: absolute;
                    z-index: 3;
                    border-radius: 3px;
                    padding: 4px;
                    width: 100%;
                    height: 84px;
                    color: #000000;
                    transition: all 0.3s;
                    &:hover {
                        transform: translateY(-44px);
                        color: #000;
                    }
                    .hl-title {
                        overflow: hidden;
                        text-overflow: ellipsis;
                        display: -webkit-box;
                        -webkit-line-clamp: 2;
                        -webkit-box-orient: vertical;
                        margin: 3px 0;
                        width: 100%;
                        height: 36px;
                        font-size: 14px;
                        line-height: 1.3;
                    }
                    .hl-author {
                        width: 100%;
                        line-height: 1.3;
                        // height: 21px;
                    }
                    .hl-views {
                        width: 100%;
                        line-height: 1.3;
                        // height: 21px;
                    }
                }
                .more1 {
                    background-color: rgb(255, 123, 0);
                }
                .more2 {
                    background-color: rgb(0, 255, 0);
                }
                .more3 {
                    background-color: rgb(0, 255, 255);
                }
                .more4 {
                    background-color: rgb(255, 0, 98);
                }
                .more5 {
                    background-color: rgb(255, 0, 255);
                }
            }
        }
    }
}
//推广区
#cost-container {
    width: 100%;
    height: 289px;
    .cost-header {
        padding: 30px 0 15px;
        height: 69px;
        line-height: 24px;
        h4 {
            float: left;
            font-size: 18px;
            cursor: default;
            i {
                margin-right: 6px;
                cursor: default;
            }
        }
        a {
            float: right;
            cursor: pointer;
        }
    }
    .cost-items {
        display: flex;
        justify-content: space-between;
        padding-bottom: 20px;
        height: 220px;
        .cost-item {
            width: 19%;
            .ci-img {
                position: relative;
                border-radius: 3px;
                overflow: hidden;
                width: 100%;
                height: 120px;
                background-color: #fff;
                img {
                    width: 100%;
                    height: 100%;
                }
            }
            .ci-title {
                padding: 10px 0;
                font-size: 14px;
                a {
                    overflow: hidden;
                    text-overflow: ellipsis;
                    display: -webkit-box;
                    -webkit-line-clamp: 2;
                    -webkit-box-orient: vertical;
                }
            }
            .ci-author i {
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
        }
    }
}
//其他分区
#other-container {
    width: 100%;
    height: 489px;
    .other-header {
        padding: 10px 0 15px;
        height: 49px;
        line-height: 24px;
        h4 {
            float: left;
            font-size: 18px;
            cursor: default;
        }
        a {
            float: right;
            cursor: pointer;
        }
    }
    .other-items {
        display: flex;
        justify-content: space-between;
        padding-bottom: 20px;
        height: 220px;
        .other-item {
            width: 19%;
            .oi-img {
                position: relative;
                border-radius: 3px;
                overflow: hidden;
                width: 100%;
                height: 120px;
                background-color: #fff;
                img {
                    width: 100%;
                    height: 100%;
                }
            }
            .oi-title {
                padding: 10px 0;
                font-size: 14px;
                a {
                    overflow: hidden;
                    text-overflow: ellipsis;
                    display: -webkit-box;
                    -webkit-line-clamp: 2;
                    -webkit-box-orient: vertical;
                }
            }
            .oi-author i {
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
        }
    }
}
.count {
    position: absolute;
    bottom: 0;
    left: 0;
    cursor: pointer;
    width: 100%;
    font-size: 13px;
    color: #fff;
    background-color: rgba(0,0,0,0.3);
    .count-left {
        float: left;
        span {
            margin: 0 4px;
            i {
                margin: 0 3px;
                font-size: 14px;
            }
        }
    }
    .count-right {
        float: right;
        margin-right: 6px;
    }
}
//页尾bottom
#bottom-container {
    text-align: center;
    height: 120px;
    background-color: #000;
    p {
        padding-top: 25px;
        color: #fff;
    }
}